package com.brillilab.dao.mapper.method;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.method.RecommendMethodSync;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 推荐方法同步 Mapper 接口
 * </p>
 *
 * @author WuMenghao
 * @since 2019-06-11
 */
public interface RecommendMethodSyncMapper extends BaseMapper<RecommendMethodSync> {

    int insertBatch(@Param("syncs") List<RecommendMethodSync> syncs);

    RecommendMethodSync selectTopOne();
}
